package com.ccys.db.entity;

import com.ccys.db.rely.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
* Created by Mybatis Generator on 2024/03/05
*/
@Data
@ApiModel("支付时的临时信息，支付完成不管成功与否都删除")
@Table(name = "tbl_booking_payment_active_transaction")
@NoArgsConstructor
@AllArgsConstructor
public class TblBookingPaymentActiveTransaction extends BaseEntity {
    @Column(name = "booking_id")
    private String bookingId;

    @Column(name = "ref_no")
    private String refNo;

    @Column(name = "transaction_id_with_hash_value")
    private String transactionIdWithHashValue;

    @Column(name = "payment_amount")
    private BigDecimal paymentAmount;

    @Column(name = "created_on")
    private Date createdOn;

    private Integer type;

    @Column(name = "card_id")
    private String cardId;

    @Column(name = "card_code")
    private String cardCode;

    @Column(name = "request_card_number_last4")
    private String requestCardNumberLast4;

    @Column(name = "request_card_type")
    private String requestCardType;

    @Column(name = "payment_token")
    private String paymentToken;

    @Column(name = "request_reference_number")
    private String requestReferenceNumber;
}